import { defineBuildConfig } from 'unbuild'; // 用于打包和发布现代javascript的工具

export default defineBuildConfig({
  clean: true,
  entries: ['src/index'],
  declaration: true,
  rollup: {
    emitCJS: true, // rollup进一步处理构建，同时输出commonjs模块
  },
});
